riscv: Add asm/dma-mapping.h for DMA mappings
authorAnup Patel <[email protected]>
Mon, 25 Feb 2019 08:14:17 +0000 (08:14 +0000)
committerAndes <[email protected]>
Wed, 27 Feb 2019 01:12:33 +0000 (09:12 +0800)
commit70b8562dcf03461cd01bcacab7520c7d1485176c
tree23409e24b386153100d54af5c92a1653ff431c02
parentfdff1f96a6505bccb258f5b52e6c94c7e0b29512
riscv: Add asm/dma-mapping.h for DMA mappings

This patch adds asm/dma-mapping.h for Linux-like DMA mappings
APIs required by some of the drivers (such as, Cadance MACB
Ethernet driver).

Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Reviewed-by: Alexander Graf <[email protected]>
Reviewed-by: Lukas Auer <[email protected]>
arch/riscv/include/asm/dma-mapping.h [new file with mode: 0644]